package com.wxj.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.wxj"})
@EnableDiscoveryClient  //nacos注册
@MapperScan("com.wxj.educms.mapper")
public class CmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
        System.out.println("\"(♥◠‿◠)ﾉﾞ  幻灯片模块启动成功！  ლ(´ڡ`ლ)ﾞ       \n" +
                "|                                                        \n" +
                "|                                                        \n" +
                "|______   _______  |______  |______   _______  | ____    \n" +
                "|      |  |     |  |      | |      |  |     |  |/        \n" +
                "|      |  |     |  |      | |      |  |_____|  |         \n" +
                "|      |  |_____|  |      | |      |  |        |         \n" +
                "|______|        |  |      | |      |  |_____   |         \n");
    }

}
